package com.sugar.follow.up.module.business.controller.admin.doctor.vo;

import com.sugar.follow.up.module.business.framework.web.convert.UrlStrImageConverter;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import cn.idev.excel.annotation.*;

@Schema(description = "管理后台 - 医生 Response VO")
@Data
@ExcelIgnoreUnannotated
public class DoctorRespVO {

    @Schema(description = "医生ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "582")
    @ExcelProperty("ID")
    private Long id;

    @Schema(description = "名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "李四")
    @ExcelProperty("名称")
    private String name;

    @Schema(description = "头像", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty(value = "头像", converter = UrlStrImageConverter.class)
    private String avatar;

    @Schema(description = "医生职务", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
    @ExcelProperty("医生职务")
    private String postName;

    @Schema(description = "医生擅长", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("医生擅长")
    private String beGoodAt;

    @Schema(description = "医生简介", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("医生简介")
    private String briefInfo;

    @Schema(description = "医生详情", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("医生详情")
    private String detail;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;
}
